//
//  NSObject+HMObj.m
//  ZFBStoryboardForThink03
//
//  Created by mac on 16/7/13.
//  Copyright © 2016年 itheima. All rights reserved.
//

#import "NSObject+HMObj.h"

@implementation NSObject (HMObj)
+(instancetype)hm_objWithClassName:(NSString *)className dict:(NSDictionary *)dict
{
    Class clz = NSClassFromString(className);
    NSObject *obj = [[clz alloc]init];
    [obj setValuesForKeysWithDictionary:dict];
    return obj;
}
@end
